.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}









* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(0,0,0,0.5) 200%);
}

.titulo_fondo {
    padding: 8vh 0;
    animation: revelarSubida 1s ease-out forwards;
}

#titulo_principal {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    color: rgb(22, 27, 51);
    text-align: center;
}


@keyframes revelarSubida {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revelarLateral {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.carrusel {
    overflow: hidden;
    background-color: rgb(71, 73, 115);
    padding: 20px 0;
    opacity: 0;
    animation: revelarSubida 1s ease-out 0.3s forwards;
}

.contenido {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: carrusel_mov 30s linear infinite;
    background-color: transparent;
}

.image_carrusel {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

@keyframes carrusel_mov {
    to { transform: translateX(-50%); }
}

nav ul {
    width: 100px;
    margin-top: 300px;
    width: 90%;
    max-width: 1000px;
    margin: 0px auto;
    display: flex;
    justify-content: center;
    list-style: none;
    opacity: 0;
    animation: revelarSubida 1s ease-out 0.6s forwards;
}

nav {
    margin-top: 0;
}

nav ul li {
    margin-top: 40px;
    width: 100px;
}
nav a {
    color: rgb(22, 27, 51);
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    padding: 10px 25px;
    border: 1px solid rgb(241, 218, 196);
    border-radius: 30px;
    transition: background 0.3s;
    text-decoration: none;
    background-color: transparent;
    border-color: blue;
}

nav a:hover {
    background-color: rgb(156, 84, 197);
    color: #fff;
}

.queesinge {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    background-color: rgb(241, 218, 196);
    padding: 50px;
    border-radius: 20px;
    border:2px solid rgb(166, 156, 172);
    opacity: 0;
    animation: revelarLateral 1.2s ease-out 0.8s forwards;
}

.queesinge div {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 40px;
    align-items: center;
    background-color: transparent;
}

.queesinge h3, .queesinge p {
     background: transparent; 
     color: rgb(13, 12, 29); 
    font-family: "Monserrat", "Roboto";
}

.queesinge h3 { font-size: 2.5rem; text-align: center; }

.queesinge p { text-align: justify; line-height: 1.7; font-size: 1.1rem; }

.queesinge img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 30px auto;
}

.image_fondo {
    background-image: url(https://www.muyinteresante.com/wp-content/uploads/sites/5/2025/03/Recreacion-de-la-construccion-de-un-colosal-puente.jpg?resize=290);
    background-attachment: fixed;
    width: 100%;
    height: 300px;
    background-size: cover;
}

h2 {
    color: rgb(71, 73, 115);
    margin: 60px 0 20px;
    font-size: clamp(1.5rem, 4vw, 3rem);
    width: 100%;
    text-align: center;
    font-family: "Montserrat", "Roboto";
}

.tarjeta {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 50px;
    background-color: rgb(241, 218, 196);
    border-radius: 10px;
    opacity: 0;
    animation: revelarSubida 1s ease-out 1s forwards;
}

.tarjeta img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 30px auto;
}


.tarjeta p {
    background: transparent;
    color: rgb(22, 27, 51);
    column-count: 1; 
    column-gap: 40px;
    text-align: justify;
    font-family: "Lato", "Roboto";
    font-size: 1.1rem;
}


:root {
    --primary: rgb(22, 27, 51);
    --secondary: #7c3aed;
    --accent:  rgb(22, 27, 51);
    --dark: #1e293b;
    --light: rgb(22, 27, 51);
    --text: #334155;
    --gradient: linear-gradient(135deg, rgb(22, 27, 51) 0%, rgb(22, 27, 51) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: -100px;
    animation: float 20s ease-in-out infinite;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 60%;
    right: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.decoration-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    bottom: 20%;
    left: 10%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

.header {
    background: var(--gradient);
    color: white;
    padding: 80px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.header h1 {
    font-size: clamp(3rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
}

.header p {
    font-size: clamp(2rem, 3vw, 1.25rem);
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.timeline-container {
    max-width: 1000px;
    margin: -60px auto 0;
    padding: 40px 20px 80px;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 40px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-marker:hover {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.timeline-item.visible .timeline-marker {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.timeline-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.timeline-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.1);
}

.timeline-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
}

.timeline-text {
    padding: 25px;
    position: relative;
}

.timeline-text .year {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-text h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.timeline-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

.expand-btn {
    margin-top: 15px;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: var(--primary);
    color: white;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-content h2 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

.footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px;
}

.footer p {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 60px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-image {
        height: 150px;
    }

    .timeline-text {
        padding: 20px;
    }

    .timeline-text h3 {
        font-size: 1.2rem;
    }

    .filter-container {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 60px 15px 100px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .timeline-container {
        padding: 30px 15px 60px;
    }

    .timeline-item {
        margin-bottom: 40px;
    }

    .modal-content {
        padding: 25px;
    }

    .modal-content h2 {
        font-size: 1.4rem;
    }
}

.hidden {
    display: none;
}

.highlight {
    border: 3px solid var(--primary);
}

.pie_pagina {
    background-color: rgb(166, 156, 172);
    padding: 60px 20px;
    margin-top: 80px;
    padding: auto;

}

.pie_pagina .logos  a {
    width: 40px;
    height: 40px;
    background-color: rgb(166, 156, 172);
    padding: auto;
}

.pie_pagina  p {
    width: 100%;
    text-align: center;
    font-family: "Montserrat", "Roboto";
    font-size: 1.1rem;
    background-color: rgb(166, 156, 172);
    color: #1e293b;
}
    
.logos {
    display: flex;
    justify-content: center;
    background-color: rgb(166, 156, 172);
    padding-top: 20px;
}

.logo_usco {
    width: 200px;
    height: 40px;
    margin-right: 1rem;
    background-color: transparent;
    padding: auto;
}

.logo_instagram {
    width: 40px;
    height: 40px;
    background-color: transparent;
    margin-right: 1rem;
    background-color: rgb(166, 156, 172);
}

.logo_facebook {
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-color: rgb(166, 156, 172);
}















@media (min-width: 992px) {
    .queesinge div {
        grid-template-columns: 1fr 1fr;
    }

    .tarjeta p {
        column-count: 2;
    }

    nav ul {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .queesinge div { display: block; }
    nav ul { flex-direction: column; border-radius: 20px; }
    nav a { padding: 10px; width: 100%; }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        border-radius: 20px;
    }
    nav a { font-size: 1rem; padding: 10px; }
    h2 { font-size: 2.5rem; }
}